const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    port: 7000,
    proxy: {
      '/proxy': {
        target: 'http://123.207.205.119:8567',
        ws: true,
        changeOrigin: true,	//虚拟的站点需要更换origin
        pathRewrite: {
          '^/proxy': ''   //重写路径
        }
      }
    },
    hot: true,
    client: {
      overlay: false
    }
  }
})
